<?php
/*
# ------------------------------------------------------------------------
# JD Base Theme
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
$t3_layouts = $T3Cpanel->getLayouts();
$currlayout = $T3Profile->getLayout('');
?>

<h3><?php echo t('Change Layouts')?></h3>

<div class="ja-box-usertools">
  <ul class="ja-usertools-layout clearfix">
  <?php foreach ($t3_layouts as $layout=>$layoutinfo) : ?>
  	<li class="layout layout-<?php echo str_replace('.','-',$layout).($layout == $currlayout?'-active':'') ?>">
	  	<input type="radio" id="user_layout_desktop_<?php echo $layout ?>" name="user_layout_desktop" value="<?php echo $layout ?>" <?php echo $layout == $currlayout?'checked="checked"':'' ?> />
	  	<label for="user_layout_desktop_<?php echo $layout ?>" title="<?php echo ''?'':$layout ?>"><span><?php echo ''?'':$layout ?></span>
	  	</label>
  	</li>	
  <?php endforeach; ?>
  </ul>
</div>